/**
 * Copyright (C), 2015-2019, bogewang
 * FileName: ProductSearchService
 * Author:   foren236598164@aliyun.com
 * Date:     2019/10/15 14:37
 * Description: ProductSearchService
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.bogewang.product.service;

import com.bogewang.core.base.BaseResponse;
import com.bogewang.product.entity.ProductDTO;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 〈ProductSearchService〉
 *
 * @author foren236598164@aliyun.com
 * @create 2019/10/15
 * @since 1.0.0
 */
public interface ProductSearchService {

    @GetMapping("/search")
    public BaseResponse<List<ProductDTO>> search(String name);

}